package xty.user.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by XieTianYi on 2020/1/29.
 *
 * @author XieTianYi
 */
@Document(collection = "student")
public class Student {
    @Id
    private String id;
    private String name;
    private List<String> fId = new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getfId() {
        return fId;
    }

    public void setfId(List<String> fId) {
        this.fId = fId;
    }
}
